package com.hs.srm.admin.modules.pricemanagement.vo;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import com.alibaba.fastjson.annotation.JSONField;
import com.hs.srm.admin.modules.pricemanagement.entity.InquiryHeaderEntity;
import com.hs.srm.admin.modules.pricemanagement.entity.InquiryItemEntity;
import com.hs.srm.admin.modules.pricemanagement.entity.InquiryVendorEntity;
import com.hs.srm.admin.modules.vendor.entity.VendorInfoEntity;

/**
 * 简化的询价信息
 *
 * @author 闫飞
 * @date 2019年2月24日
 */
@Getter
@Setter
@ToString
public class InquiryVO implements Serializable {

    private static final long serialVersionUID = -3000571191963686401L;

    private String inquiryTotalCode;
    private String inquiryCode; //询价报价单号
    private String companyCode;
    private String purchaseOrg;
    private String purchaseGrp;
    private String language;
    private String purchaseType;
    private String currency;
    private String beginDate;
    private String endDate;
    private String remark;

    private Date creationDate;
    private String createdBy; //创建者
    private String vendorCode;
    private String vendorName;
    private String payTermsPurchase;
    private String i18nTradeTerms;
    private String inquiryItemCode; //行项目
    private String materialCode;   //物料编码
    private String materialDesc;   //物料描述
    private String requestCode;   //采购申请编码

    private String purchaseCnt;    //数量
    private String poUnit;         //采购订单单位
    private String deliveryDate;   //交货日期
    private String werks;          //工厂
    private String storageLocation; //库存地点
    private String materialGroup; //物料组
    private String purchRequestCode; //参考PR

    private String purchRequestItemCode; //参考行项目
    private String price; //报价
    private String priceUnit; //价格单位
    private String taxCode;//税代码

    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private String replyDeliveryDate; //回复交期

    private String i18nTradeTerm; //


    //询价抬头
    private InquiryHeaderEntity inquiryHeaderEntity;
    //询价的行项目
    private List<InquiryItemEntity> inquiryItemEntitylist;
    //询价的供应商
    private List<InquiryVendorEntity> InquiryVendorEntitylist = new ArrayList<InquiryVendorEntity>();
    //供应商
    private List<VendorInfoEntity> vendorInfolist;
    //附件的名称
    private List<String> filenames;

    //非生产与生产的标识
    private String flag;

}
